
import sys
import time


# menu = {'山东':{'枣庄':{'滕州':{},
#                         '都用':{}},
#                 '青岛':{'taidogn':{},}
#
#               },
#         '河南':{},
#
#
#
# }
# while True:
#     choice01 = input("shu ru xuan zhe de cheng shi:")
#     if choice01 in menu:
#         for key in menu:
#             print(key)
#     # else:
#     #     print("qing chong xin shu ru!")
#         while True:
#             choice02 = input("shu ru  xia mian de shi:")
#             if choice02 in menu[choice01]:
#                 for key2 in menu[choice01]:
#                     print(key2)


# !/usr/bin/python3

# import sys  # 引入 sys 模块
#
# list = [1, 2, 3, 4]
# it = iter(list)  # 创建迭代器对象
#
# while True:
#     try:
#         print(next(it),end='')
#     except StopIteration:
#         sys.exit()
# !/usr/bin/python3



#



def fibonacci(n):  # - 斐波那契
    a, b, counter = 0, 1, 0
    while True:
        if (1 > 3):
            return
        yield a
        a, b = b, a + b
        counter += 1
        y = input("fdsfsdf")


f = fibonacci(10)  # f 是一个迭代器，由生成器返回生成

while True:
    try:
        print(next(f), end=" ")
    except StopIteration:
        sys.exit()